import * as types from "./mutationTypes.js"

let apiDataModules = {
    namespaced:true,
    state:{
        apidatas:{},
        apianuser:{},
        token:"",
    },
    mutations:{
        [types.GETAPIDATA](state,datas){
            state.apidatas = datas
        },
        [types.GETANUSER](state,datas){
            state.apianuser = datas
        },
        [types.POSTTOKEN](state,datas){
            state.token = datas
        }
    }
}

export default apiDataModules